package com.homedo.odin.solution.model.response.mng.adservings;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

@ApiModel(description = "广告对象")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class MngAdServingsResponseBean {

    @ApiModelProperty(value = "广告投放Id", hidden = true)
    private String adServingId;
    @ApiModelProperty(value = "发布人Id", hidden = true)
    private Long modifiedBy;
    @ApiModelProperty(value = "发布时间", hidden = true)
    private Date modifiedTime;


    @ApiModelProperty("广告编号")
    private String adNumber;

    @ApiModelProperty("广告位名称")
    private String name;

    @ApiModelProperty("广告类型，0：默认广告，1：投放广告")
    private Integer adType;

    @ApiModelProperty("广告标题")
    private String adTitle;

    @ApiModelProperty("广告投放用户群")
    private String userGroupIds;

    @ApiModelProperty("上架时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date shelveTime;

    @ApiModelProperty("上架周期（天）")
    private String shelveDays;

    @ApiModelProperty("总展示量")
    private Integer showCount;

    @ApiModelProperty("近三天展示量")
    private Integer threeDaysShowCount;

    @ApiModelProperty("总点击量")
    private Integer clickCount;

    @ApiModelProperty("近三天点击量")
    private Integer threeDaysClickCount;

    @ApiModelProperty("发布人")
    private String publishUser;

    @ApiModelProperty("操作时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date publishTime;

    @ApiModelProperty("状态，0：已下架，1：上架中")
    private Integer status;
}
